package com.cn.domain;

/**
 * 商品类型
 */
public class Category {

    private int hpc_id;              //子类型ID
    private String hpc_name;    //类型名称
    private int hpc_parent_id;     //父类型ID

    public int getHpc_id() {
        return hpc_id;
    }

    public void setHpc_id(int hpc_id) {
        this.hpc_id = hpc_id;
    }

    public String getHpc_name() {
        return hpc_name;
    }

    public void setHpc_name(String hpc_name) {
        this.hpc_name = hpc_name;
    }

    public int getHpc_parent_id() {
        return hpc_parent_id;
    }

    public void setHpc_parent_id(int hpc_parent_id) {
        this.hpc_parent_id = hpc_parent_id;
    }

    @Override
    public String toString() {
        return "Category{" +
                "hpc_id=" + hpc_id +
                ", hpc_name='" + hpc_name + '\'' +
                ", hpc_parent_id=" + hpc_parent_id +
                '}';
    }
}
